package com.common.dongqiuhui.apps.comm.net;

import org.apache.http.message.BasicNameValuePair;

import java.util.Comparator;

/**
 * Created by zq on 2014/8/11.
 */
public class ComparatorParam implements Comparator {
    public int compare(Object arg0, Object arg1) {
        BasicNameValuePair param0=(BasicNameValuePair)arg0;
        BasicNameValuePair param1=(BasicNameValuePair)arg1;

        return param0.getName().compareTo(param1.getName());
    }
}
